# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=mimikatz
pkgver=2.2.0_20220919
pkgrel=1
pkgdesc='A little tool to play with Windows security.'
url='https://github.com/gentilkiwi/mimikatz'
groups=('blackarch' 'blackarch-windows' 'blackarch-cracker')
license=('custom:unknown')
arch=('any')
source=("https://github.com/gentilkiwi/mimikatz/releases/download/${pkgver//_/-}/${pkgname}_trunk.zip")
sha512sums=('6b20caba114996bf268d2dc5e857624f7ebad0c580c8054cfc53c5d9af6c7bf56a91f2a68e9a03101e8599c4e1ddd94ad2d37e38d92243d4c2b89370cfee80ad')

package() {
  install -dm 755 "$pkgdir/usr/share/windows/$pkgname"

  rm mimikatz_trunk.zip

  cp -a * "$pkgdir/usr/share/windows/$pkgname"
}

